package cn.wolfcode.trip.base.query;

import lombok.Getter;
import lombok.Setter;
import org.springframework.util.StringUtils;

@Setter
@Getter
public class TravelQueryObject extends QueryObject {
    private String keyword;
    private Long authorId;
    //状态
    private Integer state;
    //是否公开
    private Boolean isPublic;
    private Long travelId;//游记的id
    public  String getKeyword(){
        return StringUtils.hasLength(keyword)?keyword.trim():null;
    }

}
